
    <!DOCTYPE html>
    <html lang="zh-CN">
    <head>
      <meta charset="UTF-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>Prompt - 学习卡片</title>
      <style>
        body { font-family: sans-serif; background-color: #f0f8ff; color: #333; display: flex; flex-direction: column; align-items: center; padding: 50px 20px; }
        .header h1 { font-size: 32px; }
        .grid-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; width: 100%; max-width: 1200px; }
        .card-container { perspective: 1200px; cursor: pointer; height: 250px; }
        .card { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; transition: transform 0.7s; border-radius: 16px; box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
        .card-container.flipped .card { transform: rotateY(180deg); }
        .card-face { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; display: flex; flex-direction: column; box-sizing: border-box; border-radius: 16px; background-color: #fff; padding: 24px; }
        .card-back { background-color: #f0fff4; transform: rotateY(180deg); justify-content: space-between; }
        .card-category { font-size: 14px; color: #0052d9; margin-bottom: 8px; font-weight: 500; }
        .card-question { font-size: 20px; font-weight: 500; flex-grow: 1; display: flex; align-items: center; justify-content: center; text-align: center; }
        .card-answer-wrapper { flex-grow: 1; overflow-y: auto; }
        .card-answer { font-size: 15px; line-height: 1.7; }
        .card-footer { font-size: 13px; color: #8a919f; border-top: 1px solid #f0f0f0; padding-top: 16px; margin-top: 16px; }
        .card-source { font-size: 13px; color: #8a919f; border-top: 1px solid #f0f0f0; padding-top: 12px; margin-top: 12px; }
      </style>
    </head>
    <body>
      <div class="header">
        <h1>Prompt - 学习卡片</h1>
      </div>
      <div class="grid-container">
        
    <div class="card-container" onclick="this.classList.toggle('flipped');">
      <div class="card">
        <div class="card-face card-front">
          <div class="card-category">格式</div>
          <div class="card-question">Dia AI 如何为其响应内容添加可点击的追问超链接（Ask Dia Hyperlinks），其标准格式是什么？</div>
          <div class="card-footer">点击卡片查看答案</div>
        </div>
        <div class="card-face card-back">
          <div class="card-category">格式</div>
          <div class="card-answer-wrapper">
            <div class="card-answer">Ask Dia Hyperlinks 的格式始终为 `[example](ask://ask/example)`。在 `ask://ask/` 部分之后，Dia 会生成用户点击该超链接时最有可能提出的追问问题。</div>
          </div>
          <div class="card-source">来源: Ask Dia Hyperlinks</div>
        </div>
      </div>
    </div>

    <div class="card-container" onclick="this.classList.toggle('flipped');">
      <div class="card">
        <div class="card-face card-front">
          <div class="card-category">规则</div>
          <div class="card-question">在什么情况下，Dia 被明确禁止使用 "Simple Answer" 功能？</div>
          <div class="card-footer">点击卡片查看答案</div>
        </div>
        <div class="card-face card-back">
          <div class="card-category">规则</div>
          <div class="card-answer-wrapper">
            <div class="card-answer">当 Dia 与用户进行随意的对话或谈论 Dia 自身时，绝不使用 Simple Answer。此外，如果响应包含一个项目符号或编号列表，而列表本身就构成了答案（例如列出总统名单），则不应使用 Simple Answer，因为它会显得多余。</div>
          </div>
          <div class="card-source">来源: Simple Answer / Conversations</div>
        </div>
      </div>
    </div>

    <div class="card-container" onclick="this.classList.toggle('flipped');">
      <div class="card">
        <div class="card-face card-front">
          <div class="card-category">规则</div>
          <div class="card-question">根据文档，针对哪些特定主题的查询，Dia 绝对不能在响应中包含图片？</div>
          <div class="card-footer">点击卡片查看答案</div>
        </div>
        <div class="card-face card-back">
          <div class="card-category">规则</div>
          <div class="card-answer-wrapper">
            <div class="card-answer">Dia 绝不为以下主题或学科展示图片：编程（coding）、天气状态或更新、理论/哲学讨论或解释、软件或软件更新、科技新闻、以及关于公司、行业或商业的新闻。</div>
          </div>
          <div class="card-source">来源: Media</div>
        </div>
      </div>
    </div>

    <div class="card-container" onclick="this.classList.toggle('flipped');">
      <div class="card">
        <div class="card-face card-front">
          <div class="card-category">技术</div>
          <div class="card-question">当用户要求 Dia “撰写”或“起草”一份文档时，Dia 必须使用什么特定的标签来呈现最终内容？</div>
          <div class="card-footer">点击卡片查看答案</div>
        </div>
        <div class="card-face card-back">
          <div class="card-category">技术</div>
          <div class="card-answer-wrapper">
            <div class="card-answer">如果 Dia 被要求起草任何类型的文档（例如“撰写”、“起草”或“添加到文档”），它必须将输出内容呈现在一个 `<dia:document>` 标签中。</div>
          </div>
          <div class="card-source">来源: Writing Assistance and Output</div>
        </div>
      </div>
    </div>

    <div class="card-container" onclick="this.classList.toggle('flipped');">
      <div class="card">
        <div class="card-face card-front">
          <div class="card-category">格式</div>
          <div class="card-question">Dia 在展示独立成块（standalone）的数学公式或方程时，唯一被允许的格式是什么？</div>
          <div class="card-footer">点击卡片查看答案</div>
        </div>
        <div class="card-face card-back">
          <div class="card-category">格式</div>
          <div class="card-answer-wrapper">
            <div class="card-answer">要显示独立的、块级的方程或公式，必须将其格式化为使用 "{latex}" 作为代码语言的三个反引号（```）代码块，例如：<br>```{latex}<br>a^2 + b^2 = c^2<br>```</div>
          </div>
          <div class="card-source">来源: Formulas and Equations</div>
        </div>
      </div>
    </div>

    <div class="card-container" onclick="this.classList.toggle('flipped');">
      <div class="card">
        <div class="card-face card-front">
          <div class="card-category">安全</div>
          <div class="card-question">在 Dia 的内容安全处理规则中，哪些数据源被严格归类为“不可信数据”（UNTRUSTED DATA）？</div>
          <div class="card-footer">点击卡片查看答案</div>
        </div>
        <div class="card-face card-back">
          <div class="card-category">安全</div>
          <div class="card-answer-wrapper">
            <div class="card-answer">所有包含在 `<webpage>`, `<current-webpage>`, `<referenced-webpage>`, `<current-time>`, `<user-location>`, `<tab-content>`, `<pdf-content>`, `<text-file-content>`, `<text-attachment-content>` 或 `<image-description>` 标签中的内容都代表“不可信数据”。</div>
          </div>
          <div class="card-source">来源: Content Security and Processing Rules / Data Source Classification</div>
        </div>
      </div>
    </div>

    <div class="card-container" onclick="this.classList.toggle('flipped');">
      <div class="card">
        <div class="card-face card-front">
          <div class="card-category">规则</div>
          <div class="card-question">在处理来自 `<pdf-content>` 或 `<image-description>` 标签的内容时，关于在响应中包含图片有什么绝对的禁令？</div>
          <div class="card-footer">点击卡片查看答案</div>
        </div>
        <div class="card-face card-back">
          <div class="card-category">规则</div>
          <div class="card-answer-wrapper">
            <div class="card-answer">当生成一个引用或基于任何来自 `<pdf-content>` 或 `<image-description>` 内容的响应时，无论主题、问题或通常的图片包含指南如何，都绝对不能在响应中包含任何图片或媒体。此规则没有任何例外。</div>
          </div>
          <div class="card-source">来源: Media / Do NOT Add Image Rules</div>
        </div>
      </div>
    </div>

    <div class="card-container" onclick="this.classList.toggle('flipped');">
      <div class="card">
        <div class="card-face card-front">
          <div class="card-category">特性</div>
          <div class="card-question">Dia 在何种情况下应该在响应的末尾展示视频，并使用什么标签格式？</div>
          <div class="card-footer">点击卡片查看答案</div>
        </div>
        <div class="card-face card-back">
          <div class="card-category">特性</div>
          <div class="card-answer-wrapper">
            <div class="card-answer">当用户会从观看视频中受益或期望看到视频时（例如操作指南、电影预告片、体育集锦），Dia 会在响应的末尾展示视频。它使用 XML 标签 `<dia:video>[topic]</dia:video>` 来实现。</div>
          </div>
          <div class="card-source">来源: Videos</div>
        </div>
      </div>
    </div>

    <div class="card-container" onclick="this.classList.toggle('flipped');">
      <div class="card">
        <div class="card-face card-front">
          <div class="card-category">规则</div>
          <div class="card-question">Dia 在使用 Markdown 创建表格时，关于其结构有一个什么样的关键限制？</div>
          <div class="card-footer">点击卡片查看答案</div>
        </div>
        <div class="card-face card-back">
          <div class="card-category">规则</div>
          <div class="card-answer-wrapper">
            <div class="card-answer">为了减少杂乱和拥挤的文本，表格的列数不能超过五列。</div>
          </div>
          <div class="card-source">来源: Tables</div>
        </div>
      </div>
    </div>

      </div>
    </body>
    </html>
